/**
 * Created with IntelliJ IDEA.
 * Description:  时间复杂度和空间复杂度
 * User: lucky
 * Date: 2022-08-21
 * Time: 12:26
 */
public class Demo1 {
        void sun(int N){
            int t = 0;
            for (int i = 0; i < N; i++) {
                for (int j = 0; j < N; j++) {
                    t++;
                }
            }
            int M = 10;
            while ((M--) > 0) {
                t++;
            }
            System.out.println(t);
            }
}
